{require_min_otp_vsn, "19"}.

{erl_opts, [
    {parse_transform, lager_transform},
    {i, "apps"},
    {i, "apps_user"}
]}.

{project_app_dirs, ["apps/*", "apps_user/*"]}.

%%%%%
% Should use separate 'test' profile for the config below.
% That needs some adaptation of the build shell scripts.

{extra_src_dirs, ["test"]}.

{xref_checks, [
    undefined_function_calls,
    locals_not_used,
    deprecated_function_calls
]}.

{xref_ignores, [
    % Ignore generated module
    {'z_language_data$map', languages_map_flat, 0},
    {'z_language_data$map', languages_map_main, 0},
    {'z_language_data$map', fallback, 0},
    {'z_language_data$map', codes_bin, 0},
    {'z_language_data$map', codes_atom, 0}
]}.

{dialyzer, [
  {warnings, [
      % no_return
  ]}
]}.
